# for 循环（遍历数据）

s = "I am a student My name is zhangsan"
s1 = "I am a student My nazhangsanme is"


# if "zhangsan" in s:
#     print("zhangsan 在 s 变量里")
#
# if "zhangsan" in s1:
#     print("zhangsan 在 s1 变量里")


# sl = s1.split(" ")   # 将字符串拆分成列表 [ad, ad, ...]
# print("拆分后的列表：", sl)
#
# for i in sl:
#     if i == "zhangsan":
#         print("欢迎张三")
#         break
#
# print("程序结束")


for i in range(2, 10):     # 0 到 9 [0,1,2,3,4,5,6,7,8,9,10]
    print(i)

